import { http } from "@/utils/http"

/**
 * 搜索商品列表
 */
export const getGoodsByName = (data) => {
    return http({
        method: 'POST',
        url: '/order/getGoodsByName',
        data,
    })
}

/**
 * 商品详情
 */
export const queryGoodsById = (data) => {
    return http({
        method: 'POST',
        url: '/order/queryGoodsById',
        data,
    })
}
